ALMaSS  1.0
The Animal, Landscape and Man Simulation System
elements.cpp File Reference
#include <math.h>
#include "../Landscape/ls.h"
#include "../BatchALMaSS/BoostRandomGenerators.h"

Macros

#define _CRT_SECURE_NO_DEPRECATE
 
#define __WEED_CURVE   99
 
#define EL_BUG_PERCENT_A   0.0
 
#define EL_BUG_PERCENT_B   0.2975
 
#define EL_BUG_PERCENT_C   0.095916647275
 
#define EL_BUG_PERCENT_D   0
 
#define EL_BUG_PERCENT_SB_A   0
 
#define EL_BUG_PERCENT_SB_B   0.380763296
 
#define EL_BUG_PERCENT_SB_C   0
 
#define EL_BUG_PERCENT_D   0
 
#define EL_BUG_PERCENT_WW_A   0.0
 
#define EL_BUG_PERCENT_WW_B   0.1283
 
#define EL_BUG_PERCENT_WW_C   0.0
 
#define EL_BUG_PERCENT_D   0
 
#define EL_BUG_PERCENT_WRy_A   0.0
 
#define EL_BUG_PERCENT_WRy_B   0.395651915
 
#define EL_BUG_PERCENT_WRy_C   0.0
 
#define EL_BUG_PERCENT_D   0
 
#define EL_BUG_PERCENT_WR_A   0.0
 
#define EL_BUG_PERCENT_WR_B   0.028271643
 
#define EL_BUG_PERCENT_WR_C   0.0
 
#define EL_BUG_PERCENT_D   0
 
#define EL_BUG_PERCENT_G_A   4.123817127
 
#define EL_BUG_PERCENT_G_B   0.151015629
 
#define EL_BUG_PERCENT_G_C   -0.228228353
 
#define EL_BUG_PERCENT_D   0
 
#define EL_BUG_PERCENT_Edges_A   10.72459109
 
#define EL_BUG_PERCENT_Edges_B   0.4
 
#define EL_BUG_PERCENT_Edges_C   2.529631141
 
#define EL_BUG_PERCENT_D   0
 
#define EL_GROWTH_DAYDEG_MAGIC   l_el_growth_daydeg_magic.value()
 
#define EL_GROWTH_DATE_MAGIC   (g_date->DayInYear(1,9))
 
#define EL_GROWTH_PHASE_SHIFT_LEVEL   (l_el_growth_phase_shift_level.value())
 
#define EL_PLANT_BIOMASS   (l_el_plant_biomass_proport.value())
 
#define EL_VEG_START_LAIT   (l_el_veg_start_lait.value())
 
#define EL_VEG_HEIGHTSCALE   (l_el_veg_heightscale.value())
 
#define RV_CUT_MAY   (l_el_rv_cut_may.value())
 
#define RV_CUT_JUN   (l_el_rv_cut_jun.value())
 
#define RV_CUT_JUL   (l_el_rv_cut_jul.value())
 
#define RV_CUT_AUG   (l_el_rv_cut_aug.value())
 
#define RV_CUT_SEP   (l_el_rv_cut_sep.value())
 
#define RV_CUT_OCT   (l_el_rv_cut_oct.value())
 
#define RV_MAY_1ST   (l_el_rv_may_1st.value())
 
#define RV_CUT_HEIGHT   (l_el_rv_cut_height.value())
 
#define RV_CUT_GREEN   (l_el_rv_cut_green.value())
 
#define RV_CUT_TOTAL   (l_el_rv_cut_total.value())
 
#define EL_WEED_PERCENT   (l_el_weed_percent.value())
 
#define EL_WEED_SLOPE   (l_el_weed_slope.value())
 
#define EL_BUG_SLOPE   (l_el_bug_slope.value())
 
#define EL_WEED_GLUE   (l_el_weed_glue.value())
 
#define EL_BUG_GLUE   (l_el_bug_glue.value())
 

Functions

void FloatToDouble (double &, float)
 

Variables

boost::variate_generator< base_generator_type &, boost::uniform_real<> > g_rand_uni
 
class PollenNectarDevelopmentDatag_nectarpollen
 
CfgInt cfg_pest_productapplic_startdate
 
CfgInt cfg_pest_productapplic_period
 
CfgBool cfg_pollen_nectar_on ("ELE_POLLENNECTAR_ON", CFG_CUSTOM, false)
 Flag to determine whether nectar and pollen models are used - should be set to true for pollinator models! More...
 
CfgBool cfg_calc_pond_pesticide ("POND_PEST_CALC_ON", CFG_CUSTOM, false)
 Flag to determine whether to calculate pond pesticide concentration. More...
 
CfgFloat cfg_pondpesticiderunoff ("POND_PEST_RUNOFFFACTOR", CFG_CUSTOM, 10.0)
 The multiplication factor assumed to account for ingress of pesticide from run-off and soil water to a pond. More...
 
CfgBool cfg_randompondquality ("POND_RANDOMQUALITY", CFG_CUSTOM, false)
 Controls whether random pond quality is used. More...
 
CfgInt cfg_goosecountperiod ("GOOSE_GOOSECOUNTPERIOD", CFG_CUSTOM, 1)
 The number of days a goose count can be used. More...
 
CfgFloat cfg_PermanentVegGrowthMaxScaler ("VEG_GROWTHSCALERMAX", CFG_CUSTOM, 1.0)
 Scales the growth of vegetation - max value. More...
 
CfgFloat cfg_PermanentVegGrowthMinScaler ("VEG_GROWTHSCALERMIN", CFG_CUSTOM, 1.0)
 Scales the growth of vegetation - min value. More...
 
const double c_SolarConversion [2][81]
 
CfgFloat l_pest_insecticide_amount
 
static CfgFloat l_pest_productOrchard_amount ("PEST_PRODUCTORCHARD_AMOUNT", CFG_CUSTOM, 0.0)
 
CfgInt cfg_pest_productapplic_startdate2
 
CfgInt cfg_pest_productapplic_startdate3
 
CfgFloat cfg_goose_GrainDecayRateWinter
 
CfgFloat cfg_goose_GrainDecayRateSpring
 
CfgFloat cfg_goose_grass_to_winter_cereal_scaler
 
static CfgFloat cfg_beetlebankinsectscaler ("ELE_BBINSECTSCALER", CFG_CUSTOM, 1.0)
 
static double g_biomass_scale [tov_Undefined]
 
static double g_weed_percent [tov_Undefined]
 
static double g_bug_percent_a [tov_Undefined]
 
static double g_bug_percent_b [tov_Undefined]
 
static double g_bug_percent_c [tov_Undefined]
 
static double g_bug_percent_d [tov_Undefined]
 
static CfgInt cfg_OrchardSprayDay ("TOX_ORCHARDSPRAYDAY", CFG_CUSTOM, 150)
 
static CfgInt cfg_OrchardSprayDay2 ("TOX_ORCHARDSPRAYDAYTWO", CFG_CUSTOM, 200000)
 
CfgInt cfg_OrchardNoCutsDay ("TOX_ORCHARDNOCUTS", CFG_CUSTOM, -1)
 
static CfgInt cfg_MownGrassNoCutsDay ("ELE_MOWNGRASSNOCUTS", CFG_CUSTOM, -1)
 
static CfgInt cfg_UMPatchyChance ("UMPATCHYCHANCE", CFG_CUSTOM, 0)
 
static CfgFloat cfg_BBPatchyChance ("BEETLEBANKBPATCHYCHANCE", CFG_CUSTOM, 0.5)
 The chance that a beetlebank being created is patchy or not. More...
 
static CfgFloat cfg_MGPatchyChance ("MOWNGRASSPATCHYCHANCE", CFG_CUSTOM, 0.5)
 The chance that a beetlebank being created is patchy or not. More...
 
static CfgFloat cfg_SetAsidePatchyChance ("SETASIDEPATCHYCHANCE", CFG_CUSTOM, 1.0)
 The chance that a setaside being created is patchy or not. More...
 
static CfgFloat cfg_ele_weedscaling ("ELE_WEEDSCALING", CFG_CUSTOM, 1.0)
 
CfgFloat cfg_PondLarvalFoodBiomassConst ("POND_LARVALFOODBIOMASSCONST", CFG_CUSTOM, 215.0)
 A constant relating the proportion of food units per m2. The value is calibrated to estimates of newt density. More...
 
CfgFloat cfg_PondLarvalFoodR ("POND_LARVALFOODFOODR", CFG_CUSTOM, 0.15)
 The instanteous rate of growth for larval food (r from logistic equation) More...
 
CfgInt g_el_tramline_decaytime_days ("ELEM_TRAMLINE_DECAYTIME_DAYS", CFG_PRIVATE, 21)
 
CfgInt g_el_herbicide_delaytime_days ("ELEM_HERBICIDE_DELAYTIME_DAYS", CFG_PRIVATE, 35)
 
CfgInt g_el_strigling_delaytime_days ("ELEM_STRIGLING_DELAYTIME_DAYS", CFG_PRIVATE, 28)
 
static CfgInt l_el_growth_daydeg_magic ("ELEM_GROWTH_DAYDEG_MAGIC", CFG_PRIVATE, 100)
 
static CfgFloat l_el_growth_phase_shift_level ("ELEM_GROWTH_PHASE_SHIFT_LEVEL", CFG_PRIVATE, 0.5)
 
static CfgFloat l_el_plant_biomass_proport ("ELEM_PLANT_BIOMASS_PROPORT", CFG_PRIVATE, 41.45)
 
static CfgFloat l_el_veg_start_lait ("ELEM_VEG_START_LAIT", CFG_PRIVATE, 1.08)
 
static CfgInt l_el_veg_heightscale ("ELEM_VEG_HEIGHTSCALE", CFG_PRIVATE, 16)
 
static CfgInt l_el_rv_cut_may ("ELEM_RV_CUT_MAY", CFG_PRIVATE, 142)
 
static CfgInt l_el_rv_cut_jun ("ELEM_RV_CUT_JUN", CFG_PRIVATE, 28)
 
static CfgInt l_el_rv_cut_jul ("ELEM_RV_CUT_JUL", CFG_PRIVATE, 35)
 
static CfgInt l_el_rv_cut_aug ("ELEM_RV_CUT_AUG", CFG_PRIVATE, 42)
 
static CfgInt l_el_rv_cut_sep ("ELEM_RV_CUT_SEP", CFG_PRIVATE, 49)
 
static CfgInt l_el_rv_cut_oct ("ELEM_RV_CUT_OCT", CFG_PRIVATE, 49)
 
static CfgInt l_el_rv_may_1st ("ELEM_RV_MAY_1ST", CFG_PRIVATE, 121)
 
static CfgFloat l_el_rv_cut_height ("ELEM_RV_CUT_HEIGHT", CFG_PRIVATE, 10.0)
 
static CfgFloat l_el_rv_cut_green ("ELEM_RV_CUT_GREEN", CFG_PRIVATE, 1.5)
 
static CfgFloat l_el_rv_cut_total ("ELEM_RV_CUT_TOTAL", CFG_PRIVATE, 2.0)
 
CfgFloat l_el_o_cut_height ("ELEM_RV_CUT_HEIGHT", CFG_PRIVATE, 10.0)
 
CfgFloat l_el_o_cut_green ("ELEM_RV_CUT_GREEN", CFG_PRIVATE, 1.5)
 
CfgFloat l_el_o_cut_total ("ELEM_RV_CUT_TOTAL", CFG_PRIVATE, 2.0)
 
static CfgFloat l_el_weed_percent ("ELEM_WEED_PERCENT", CFG_PRIVATE, 0.1)
 
static CfgFloat l_el_weed_slope ("ELEM_WEED_SLOPE", CFG_PRIVATE, 0.15)
 
static CfgFloat l_el_bug_slope ("ELEM_BUG_SLOPE", CFG_PRIVATE, 0.2)
 
static CfgFloat l_el_weed_glue ("ELEM_WEED_GLUE", CFG_PRIVATE, 0.99)
 
static CfgFloat l_el_bug_glue ("ELEM_BUG_GLUE", CFG_PRIVATE, 0.50)
 
class LE_TypeClassg_letype
 

Macro Definition Documentation

◆ __WEED_CURVE

#define __WEED_CURVE   99

◆ _CRT_SECURE_NO_DEPRECATE

#define _CRT_SECURE_NO_DEPRECATE

◆ EL_BUG_GLUE

#define EL_BUG_GLUE   (l_el_bug_glue.value())

◆ EL_BUG_PERCENT_A

#define EL_BUG_PERCENT_A   0.0

◆ EL_BUG_PERCENT_B

#define EL_BUG_PERCENT_B   0.2975

◆ EL_BUG_PERCENT_C

#define EL_BUG_PERCENT_C   0.095916647275

◆ EL_BUG_PERCENT_D [1/7]

#define EL_BUG_PERCENT_D   0

◆ EL_BUG_PERCENT_D [2/7]

#define EL_BUG_PERCENT_D   0

◆ EL_BUG_PERCENT_D [3/7]

#define EL_BUG_PERCENT_D   0

◆ EL_BUG_PERCENT_D [4/7]

#define EL_BUG_PERCENT_D   0

◆ EL_BUG_PERCENT_D [5/7]

#define EL_BUG_PERCENT_D   0

◆ EL_BUG_PERCENT_D [6/7]

#define EL_BUG_PERCENT_D   0

◆ EL_BUG_PERCENT_D [7/7]

#define EL_BUG_PERCENT_D   0

◆ EL_BUG_PERCENT_Edges_A

#define EL_BUG_PERCENT_Edges_A   10.72459109

◆ EL_BUG_PERCENT_Edges_B

#define EL_BUG_PERCENT_Edges_B   0.4

◆ EL_BUG_PERCENT_Edges_C

#define EL_BUG_PERCENT_Edges_C   2.529631141

◆ EL_BUG_PERCENT_G_A

#define EL_BUG_PERCENT_G_A   4.123817127

◆ EL_BUG_PERCENT_G_B

#define EL_BUG_PERCENT_G_B   0.151015629

◆ EL_BUG_PERCENT_G_C

#define EL_BUG_PERCENT_G_C   -0.228228353

◆ EL_BUG_PERCENT_SB_A

#define EL_BUG_PERCENT_SB_A   0

◆ EL_BUG_PERCENT_SB_B

#define EL_BUG_PERCENT_SB_B   0.380763296

◆ EL_BUG_PERCENT_SB_C

#define EL_BUG_PERCENT_SB_C   0

◆ EL_BUG_PERCENT_WR_A

#define EL_BUG_PERCENT_WR_A   0.0

◆ EL_BUG_PERCENT_WR_B

#define EL_BUG_PERCENT_WR_B   0.028271643

◆ EL_BUG_PERCENT_WR_C

#define EL_BUG_PERCENT_WR_C   0.0

◆ EL_BUG_PERCENT_WRy_A

#define EL_BUG_PERCENT_WRy_A   0.0

◆ EL_BUG_PERCENT_WRy_B

#define EL_BUG_PERCENT_WRy_B   0.395651915

◆ EL_BUG_PERCENT_WRy_C

#define EL_BUG_PERCENT_WRy_C   0.0

◆ EL_BUG_PERCENT_WW_A

#define EL_BUG_PERCENT_WW_A   0.0

◆ EL_BUG_PERCENT_WW_B

#define EL_BUG_PERCENT_WW_B   0.1283

◆ EL_BUG_PERCENT_WW_C

#define EL_BUG_PERCENT_WW_C   0.0

◆ EL_BUG_SLOPE

#define EL_BUG_SLOPE   (l_el_bug_slope.value())

◆ EL_GROWTH_DATE_MAGIC

#define EL_GROWTH_DATE_MAGIC   (g_date->DayInYear(1,9))

◆ EL_GROWTH_DAYDEG_MAGIC

#define EL_GROWTH_DAYDEG_MAGIC   l_el_growth_daydeg_magic.value()

◆ EL_GROWTH_PHASE_SHIFT_LEVEL

#define EL_GROWTH_PHASE_SHIFT_LEVEL   (l_el_growth_phase_shift_level.value())

◆ EL_PLANT_BIOMASS

#define EL_PLANT_BIOMASS   (l_el_plant_biomass_proport.value())

◆ EL_VEG_HEIGHTSCALE

#define EL_VEG_HEIGHTSCALE   (l_el_veg_heightscale.value())

◆ EL_VEG_START_LAIT

#define EL_VEG_START_LAIT   (l_el_veg_start_lait.value())

◆ EL_WEED_GLUE

#define EL_WEED_GLUE   (l_el_weed_glue.value())

◆ EL_WEED_PERCENT

#define EL_WEED_PERCENT   (l_el_weed_percent.value())

◆ EL_WEED_SLOPE

#define EL_WEED_SLOPE   (l_el_weed_slope.value())

◆ RV_CUT_AUG

#define RV_CUT_AUG   (l_el_rv_cut_aug.value())

◆ RV_CUT_GREEN

#define RV_CUT_GREEN   (l_el_rv_cut_green.value())

◆ RV_CUT_HEIGHT

#define RV_CUT_HEIGHT   (l_el_rv_cut_height.value())

◆ RV_CUT_JUL

#define RV_CUT_JUL   (l_el_rv_cut_jul.value())

◆ RV_CUT_JUN

#define RV_CUT_JUN   (l_el_rv_cut_jun.value())

◆ RV_CUT_MAY

#define RV_CUT_MAY   (l_el_rv_cut_may.value())

◆ RV_CUT_OCT

#define RV_CUT_OCT   (l_el_rv_cut_oct.value())

◆ RV_CUT_SEP

#define RV_CUT_SEP   (l_el_rv_cut_sep.value())

◆ RV_CUT_TOTAL

#define RV_CUT_TOTAL   (l_el_rv_cut_total.value())

◆ RV_MAY_1ST

#define RV_MAY_1ST   (l_el_rv_may_1st.value())

Function Documentation

◆ FloatToDouble()

void FloatToDouble ( double &  d,
float  f 
)
174  {
175  d = f;
176 }

Referenced by VegElement::ReadBugPercentageFile().

Variable Documentation

◆ c_SolarConversion

const double c_SolarConversion[2][81]
Initial value:
= {
{
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.28,
0.56,0.84,1.12,1.4,1.4,1.4,1.4,1.4,1.4,1.4,1.4,1.4,1.4,1.4,1.4,1.4,1.4,1.4,
1.4,1.4,1.26,1.12,0.98,0.84,0.7,0.56,0.42,0.28,0.14,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0
},
{
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0.242857,0.485714,0.728571,0.971429,1.214286,1.457143,1.7,1.7,1.7,1.7,
1.7,1.7,1.7,1.7,1.7,1.7,1.7,1.7,1.7,1.7,1.7,1.7,1.7,1.7,1.7,1.7,1.7,1.7,
1.53,1.36,1.19,1.02,0.85,0.68,0.51,0.34,0.17,0,0,0,0,0,0
}
}

Referenced by VegElement::RecalculateBugsNStuff().

◆ cfg_BBPatchyChance

CfgFloat cfg_BBPatchyChance("BEETLEBANKBPATCHYCHANCE", CFG_CUSTOM, 0.5) ( "BEETLEBANKBPATCHYCHANCE"  ,
CFG_CUSTOM  ,
0.  5 
)
static

The chance that a beetlebank being created is patchy or not.

Referenced by BeetleBank::BeetleBank().

◆ cfg_beetlebankinsectscaler

CfgFloat cfg_beetlebankinsectscaler("ELE_BBINSECTSCALER", CFG_CUSTOM, 1.0) ( "ELE_BBINSECTSCALER"  ,
CFG_CUSTOM  ,
1.  0 
)
static

◆ cfg_calc_pond_pesticide

CfgBool cfg_calc_pond_pesticide("POND_PEST_CALC_ON", CFG_CUSTOM, false) ( "POND_PEST_CALC_ON"  ,
CFG_CUSTOM  ,
false   
)

Flag to determine whether to calculate pond pesticide concentration.

Referenced by Pond::CalcPondPesticide().

◆ cfg_ele_weedscaling

CfgFloat cfg_ele_weedscaling("ELE_WEEDSCALING", CFG_CUSTOM, 1.0) ( "ELE_WEEDSCALING"  ,
CFG_CUSTOM  ,
1.  0 
)
static

◆ cfg_goose_GrainDecayRateSpring

CfgFloat cfg_goose_GrainDecayRateSpring
extern

◆ cfg_goose_GrainDecayRateWinter

CfgFloat cfg_goose_GrainDecayRateWinter
extern

◆ cfg_goose_grass_to_winter_cereal_scaler

CfgFloat cfg_goose_grass_to_winter_cereal_scaler
extern

◆ cfg_goosecountperiod

CfgInt cfg_goosecountperiod("GOOSE_GOOSECOUNTPERIOD", CFG_CUSTOM, 1) ( "GOOSE_GOOSECOUNTPERIOD"  ,
CFG_CUSTOM  ,
 
)

The number of days a goose count can be used.

Referenced by LE::GetGooseNos(), and LE::GetQuarryNos().

◆ cfg_MGPatchyChance

CfgFloat cfg_MGPatchyChance("MOWNGRASSPATCHYCHANCE", CFG_CUSTOM, 0.5) ( "MOWNGRASSPATCHYCHANCE"  ,
CFG_CUSTOM  ,
0.  5 
)
static

The chance that a beetlebank being created is patchy or not.

Referenced by MownGrass::MownGrass().

◆ cfg_MownGrassNoCutsDay

CfgInt cfg_MownGrassNoCutsDay("ELE_MOWNGRASSNOCUTS", CFG_CUSTOM, -1) ( "ELE_MOWNGRASSNOCUTS"  ,
CFG_CUSTOM  ,
1 
)
static

◆ cfg_OrchardNoCutsDay

CfgInt cfg_OrchardNoCutsDay("TOX_ORCHARDNOCUTS", CFG_CUSTOM, -1) ( "TOX_ORCHARDNOCUTS"  ,
CFG_CUSTOM  ,
1 
)

Referenced by Orchard::DoDevelopment().

◆ cfg_OrchardSprayDay

CfgInt cfg_OrchardSprayDay("TOX_ORCHARDSPRAYDAY", CFG_CUSTOM, 150) ( "TOX_ORCHARDSPRAYDAY"  ,
CFG_CUSTOM  ,
150   
)
static

◆ cfg_OrchardSprayDay2

CfgInt cfg_OrchardSprayDay2("TOX_ORCHARDSPRAYDAYTWO", CFG_CUSTOM, 200000) ( "TOX_ORCHARDSPRAYDAYTWO"  ,
CFG_CUSTOM  ,
200000   
)
static

◆ cfg_PermanentVegGrowthMaxScaler

◆ cfg_PermanentVegGrowthMinScaler

◆ cfg_pest_productapplic_period

CfgInt cfg_pest_productapplic_period
extern

◆ cfg_pest_productapplic_startdate

CfgInt cfg_pest_productapplic_startdate
extern

◆ cfg_pest_productapplic_startdate2

CfgInt cfg_pest_productapplic_startdate2
extern

◆ cfg_pest_productapplic_startdate3

CfgInt cfg_pest_productapplic_startdate3
extern

◆ cfg_pollen_nectar_on

CfgBool cfg_pollen_nectar_on("ELE_POLLENNECTAR_ON", CFG_CUSTOM, false) ( "ELE_POLLENNECTAR_ON"  ,
CFG_CUSTOM  ,
false   
)

Flag to determine whether nectar and pollen models are used - should be set to true for pollinator models!

◆ cfg_PondLarvalFoodBiomassConst

CfgFloat cfg_PondLarvalFoodBiomassConst("POND_LARVALFOODBIOMASSCONST", CFG_CUSTOM, 215.0) ( "POND_LARVALFOODBIOMASSCONST"  ,
CFG_CUSTOM  ,
215.  0 
)

A constant relating the proportion of food units per m2. The value is calibrated to estimates of newt density.

Referenced by Pond::CalcLarvalFood().

◆ cfg_PondLarvalFoodR

CfgFloat cfg_PondLarvalFoodR("POND_LARVALFOODFOODR", CFG_CUSTOM, 0.15) ( "POND_LARVALFOODFOODR"  ,
CFG_CUSTOM  ,
0.  15 
)

The instanteous rate of growth for larval food (r from logistic equation)

Referenced by Pond::CalcLarvalFood().

◆ cfg_pondpesticiderunoff

CfgFloat cfg_pondpesticiderunoff("POND_PEST_RUNOFFFACTOR", CFG_CUSTOM, 10.0) ( "POND_PEST_RUNOFFFACTOR"  ,
CFG_CUSTOM  ,
10.  0 
)

The multiplication factor assumed to account for ingress of pesticide from run-off and soil water to a pond.

Referenced by Pond::CalcPondPesticide().

◆ cfg_randompondquality

CfgBool cfg_randompondquality("POND_RANDOMQUALITY", CFG_CUSTOM, false) ( "POND_RANDOMQUALITY"  ,
CFG_CUSTOM  ,
false   
)

Controls whether random pond quality is used.

Referenced by Pond::Pond().

◆ cfg_SetAsidePatchyChance

CfgFloat cfg_SetAsidePatchyChance("SETASIDEPATCHYCHANCE", CFG_CUSTOM, 1.0) ( "SETASIDEPATCHYCHANCE"  ,
CFG_CUSTOM  ,
1.  0 
)
static

The chance that a setaside being created is patchy or not.

Referenced by PermanentSetaside::PermanentSetaside().

◆ cfg_UMPatchyChance

CfgInt cfg_UMPatchyChance("UMPATCHYCHANCE", CFG_CUSTOM, 0) ( "UMPATCHYCHANCE"  ,
CFG_CUSTOM  ,
 
)
static

◆ g_biomass_scale

◆ g_bug_percent_a

◆ g_bug_percent_b

◆ g_bug_percent_c

◆ g_bug_percent_d

◆ g_el_herbicide_delaytime_days

CfgInt g_el_herbicide_delaytime_days("ELEM_HERBICIDE_DELAYTIME_DAYS", CFG_PRIVATE, 35) ( "ELEM_HERBICIDE_DELAYTIME_DAYS"  ,
CFG_PRIVATE  ,
35   
)

◆ g_el_strigling_delaytime_days

CfgInt g_el_strigling_delaytime_days("ELEM_STRIGLING_DELAYTIME_DAYS", CFG_PRIVATE, 28) ( "ELEM_STRIGLING_DELAYTIME_DAYS"  ,
CFG_PRIVATE  ,
28   
)

◆ g_el_tramline_decaytime_days

CfgInt g_el_tramline_decaytime_days("ELEM_TRAMLINE_DECAYTIME_DAYS", CFG_PRIVATE, 21) ( "ELEM_TRAMLINE_DECAYTIME_DAYS"  ,
CFG_PRIVATE  ,
21   
)

◆ g_letype

◆ g_nectarpollen

◆ g_rand_uni

◆ g_weed_percent

double g_weed_percent[tov_Undefined]
static

◆ l_el_bug_glue

CfgFloat l_el_bug_glue("ELEM_BUG_GLUE", CFG_PRIVATE, 0.50) ( "ELEM_BUG_GLUE"  ,
CFG_PRIVATE  ,
0.  50 
)
static

◆ l_el_bug_slope

CfgFloat l_el_bug_slope("ELEM_BUG_SLOPE", CFG_PRIVATE, 0.2) ( "ELEM_BUG_SLOPE"  ,
CFG_PRIVATE  ,
0.  2 
)
static

◆ l_el_growth_daydeg_magic

CfgInt l_el_growth_daydeg_magic("ELEM_GROWTH_DAYDEG_MAGIC", CFG_PRIVATE, 100) ( "ELEM_GROWTH_DAYDEG_MAGIC"  ,
CFG_PRIVATE  ,
100   
)
static

◆ l_el_growth_phase_shift_level

CfgFloat l_el_growth_phase_shift_level("ELEM_GROWTH_PHASE_SHIFT_LEVEL", CFG_PRIVATE, 0.5) ( "ELEM_GROWTH_PHASE_SHIFT_LEVEL"  ,
CFG_PRIVATE  ,
0.  5 
)
static

◆ l_el_o_cut_green

CfgFloat l_el_o_cut_green("ELEM_RV_CUT_GREEN", CFG_PRIVATE, 1.5) ( "ELEM_RV_CUT_GREEN"  ,
CFG_PRIVATE  ,
1.  5 
)

◆ l_el_o_cut_height

CfgFloat l_el_o_cut_height("ELEM_RV_CUT_HEIGHT", CFG_PRIVATE, 10.0) ( "ELEM_RV_CUT_HEIGHT"  ,
CFG_PRIVATE  ,
10.  0 
)

◆ l_el_o_cut_total

CfgFloat l_el_o_cut_total("ELEM_RV_CUT_TOTAL", CFG_PRIVATE, 2.0) ( "ELEM_RV_CUT_TOTAL"  ,
CFG_PRIVATE  ,
2.  0 
)

◆ l_el_plant_biomass_proport

CfgFloat l_el_plant_biomass_proport("ELEM_PLANT_BIOMASS_PROPORT", CFG_PRIVATE, 41.45) ( "ELEM_PLANT_BIOMASS_PROPORT"  ,
CFG_PRIVATE  ,
41.  45 
)
static

◆ l_el_rv_cut_aug

CfgInt l_el_rv_cut_aug("ELEM_RV_CUT_AUG", CFG_PRIVATE, 42) ( "ELEM_RV_CUT_AUG"  ,
CFG_PRIVATE  ,
42   
)
static

◆ l_el_rv_cut_green

CfgFloat l_el_rv_cut_green("ELEM_RV_CUT_GREEN", CFG_PRIVATE, 1.5) ( "ELEM_RV_CUT_GREEN"  ,
CFG_PRIVATE  ,
1.  5 
)
static

◆ l_el_rv_cut_height

CfgFloat l_el_rv_cut_height("ELEM_RV_CUT_HEIGHT", CFG_PRIVATE, 10.0) ( "ELEM_RV_CUT_HEIGHT"  ,
CFG_PRIVATE  ,
10.  0 
)
static

◆ l_el_rv_cut_jul

CfgInt l_el_rv_cut_jul("ELEM_RV_CUT_JUL", CFG_PRIVATE, 35) ( "ELEM_RV_CUT_JUL"  ,
CFG_PRIVATE  ,
35   
)
static

◆ l_el_rv_cut_jun

CfgInt l_el_rv_cut_jun("ELEM_RV_CUT_JUN", CFG_PRIVATE, 28) ( "ELEM_RV_CUT_JUN"  ,
CFG_PRIVATE  ,
28   
)
static

◆ l_el_rv_cut_may

CfgInt l_el_rv_cut_may("ELEM_RV_CUT_MAY", CFG_PRIVATE, 142) ( "ELEM_RV_CUT_MAY"  ,
CFG_PRIVATE  ,
142   
)
static

◆ l_el_rv_cut_oct

CfgInt l_el_rv_cut_oct("ELEM_RV_CUT_OCT", CFG_PRIVATE, 49) ( "ELEM_RV_CUT_OCT"  ,
CFG_PRIVATE  ,
49   
)
static

◆ l_el_rv_cut_sep

CfgInt l_el_rv_cut_sep("ELEM_RV_CUT_SEP", CFG_PRIVATE, 49) ( "ELEM_RV_CUT_SEP"  ,
CFG_PRIVATE  ,
49   
)
static

◆ l_el_rv_cut_total

CfgFloat l_el_rv_cut_total("ELEM_RV_CUT_TOTAL", CFG_PRIVATE, 2.0) ( "ELEM_RV_CUT_TOTAL"  ,
CFG_PRIVATE  ,
2.  0 
)
static

◆ l_el_rv_may_1st

CfgInt l_el_rv_may_1st("ELEM_RV_MAY_1ST", CFG_PRIVATE, 121) ( "ELEM_RV_MAY_1ST"  ,
CFG_PRIVATE  ,
121   
)
static

◆ l_el_veg_heightscale

CfgInt l_el_veg_heightscale("ELEM_VEG_HEIGHTSCALE", CFG_PRIVATE, 16) ( "ELEM_VEG_HEIGHTSCALE"  ,
CFG_PRIVATE  ,
16   
)
static

◆ l_el_veg_start_lait

CfgFloat l_el_veg_start_lait("ELEM_VEG_START_LAIT", CFG_PRIVATE, 1.08) ( "ELEM_VEG_START_LAIT"  ,
CFG_PRIVATE  ,
1.  08 
)
static

◆ l_el_weed_glue

CfgFloat l_el_weed_glue("ELEM_WEED_GLUE", CFG_PRIVATE, 0.99) ( "ELEM_WEED_GLUE"  ,
CFG_PRIVATE  ,
0.  99 
)
static

◆ l_el_weed_percent

CfgFloat l_el_weed_percent("ELEM_WEED_PERCENT", CFG_PRIVATE, 0.1) ( "ELEM_WEED_PERCENT"  ,
CFG_PRIVATE  ,
0.  1 
)
static

◆ l_el_weed_slope

CfgFloat l_el_weed_slope("ELEM_WEED_SLOPE", CFG_PRIVATE, 0.15) ( "ELEM_WEED_SLOPE"  ,
CFG_PRIVATE  ,
0.  15 
)
static

◆ l_pest_insecticide_amount

CfgFloat l_pest_insecticide_amount
extern

◆ l_pest_productOrchard_amount

CfgFloat l_pest_productOrchard_amount("PEST_PRODUCTORCHARD_AMOUNT", CFG_CUSTOM, 0.0) ( "PEST_PRODUCTORCHARD_AMOUNT"  ,
CFG_CUSTOM  ,
0.  0 
)
static